package com.gxa.user.controller;/**
 * @author JunYu
 * @create 2022-10-09--19:30
 */

import com.gxa.api.shop.ShopApi;
import com.gxa.api.shop.entity.GoodIdAndNum;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @program: take-out-project-shop
 *
 * @description: cehi
 *
 * @author: JunYu
 *
 * @create: 2022-10-09 19:30
 **/
@RestController
public class TestController {
    @Autowired
    ShopApi shopApi;
    @GetMapping(value = "/testFeign")
    public void testFeign(){
        List<GoodIdAndNum> goodIdAndNum = shopApi.findGoodIdAndNum();
        System.out.println(goodIdAndNum);
    }
}
